package com.example.demo.repository;

import com.example.demo.entity.Socket;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface SocketRepository extends CrudRepository<Socket,Integer> {
    Socket findByPort(Integer port);
    List<Socket> findByPortIn(List<Integer> ports);

}
